package cn.iocoder.yudao.module.shop.enums;

import cn.iocoder.yudao.framework.common.exception.ErrorCode;

/**
 * business 错误码枚举类
 *
 *  使用 2-001-000-000 段
 */
public interface ErrorCodeConstants {

    // ========== 商品品牌  2-100-001-001 ==========
    ErrorCode SHOP_BRAND_NOT_EXISTS = new ErrorCode(2_100_001_001, "商户品牌不存在");

    // ========== 商户入驻申请  2_100_002_001 ==========
    ErrorCode SHOP_SETTLE_APPLY_NOT_EXISTS = new ErrorCode(2_100_002_001, "商户入驻申请不存在");

    // ========== 商户信息 2_100_003_001 ==========
    ErrorCode SHOP_INFO_NOT_EXISTS = new ErrorCode(2_100_003_001, "商户信息不存在");

    // ========== 商户营业时间 2_100_004_001 ==========
    ErrorCode SHOP_OPEN_TIME_NOT_EXISTS = new ErrorCode(2_100_004_001, "商户营业时间不存在");

    // ========== 商户桌号 2_100_005_001 ==========
    ErrorCode TABLE_NOT_EXISTS = new ErrorCode(2_100_005_001, "商户桌号不存在");
    ErrorCode TABLE_STATUS_SEATING_NOT_ALLOW_DELETE = new ErrorCode(2_100_005_002, "桌号【{}】占座中，当前不可以删除");

}
